package cc.eddic.practice.spring.dto;

import cc.eddic.practice.spring.QuestionType;
import cc.eddic.practice.spring.domain.Category;
import cc.eddic.practice.spring.domain.Question;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class QuestionAddRequest {
    private String description;
    public Question as(){
        return new Question(this.description);
    }
}
